<!--
 * @Author: ૮₍ ˙О˙₎ა
 * @Date: 2023-05-01 10:02:17
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Diary</title>
    <style>
        body {
            background-color: #f2f2f2;
            font-family: Arial, sans-serif;
        }

        h1 {
            color: #333;
            text-align: center;
        }

        form {
            background-color: #fff;
            max-width: 500px;
            margin: 0 auto;
            padding: 20px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }

        label {
            display: block;
            font-weight: bold;
            margin-bottom: 5px;
        }

        input[type="text"],
        input[type="email"],
        input[type="number"],
        input[type="password"] {
            width: 95%;
            padding: 12px;
            border-radius: 3px;
            border: 1px solid #ccc;
        }

        input[type="submit"],
        input[type="reset"]
        {
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;

        }
        input[type="submit"]{
            margin-left: 200px;
        }
        input[type="reset"]{
            margin-left: 20px;
        }

        textarea {
            width: 95%;
            padding: 12px;
            border-radius: 3px;
            border: 1px solid #ccc;
            resize: none;
        }

        button {
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            padding: 12px 20px;
            font-size: 16px;
        }
    </style>
</head>

<body>
    <h1>修改我的日记</h1>

    <form  method="post">
        <label for="name">日记标题</label>
        <input type="text" id="name" name="name"><br><br>

        <label for="name">内容</label>
        <textarea id="content" name="content" rows="5" cols="50">
        </textarea><br><br>  
        <input type="submit" value="修改" class="updateSub">  
        <input type="reset" value="清空">
    </form>
    <script src="/js/update.js" type="module"></script>
</body>
</html>